package Tests;

import system.BlogSystem;

public class UserStoryFacade3 {
	
	private BlogSystem system = BlogSystem.getInstance();
	
	public void loadData(){
		// TODO do I need to do something here? o.o'
	}
	
	public String logon(String login, String senha) throws Exception{
		return system.login(login, senha);
	}
	
	public String getProfileInformationBySessionId(String idSession, String atributo) throws Exception{
		return system.getInformationProfileBySessionId(idSession, atributo);
	}
	
	public void changeProfileInformation(String idSession, String atributo, String valor) throws Exception{
		system.changeProfileInformation(idSession, atributo, valor);
	}
	
	public void createProfile(String login, String senha, String nome_exibicao,
			String email, String sexo, String dataNasc, String endereco, String interesses,
			String quem_sou_eu, String filmes, String musicas, String livros) throws Exception {
		system.createUser(login, senha, nome_exibicao, email, sexo, dataNasc, endereco, interesses, quem_sou_eu, filmes, musicas, livros);
	}
	
	public void logoff(long idSession){
		
	}
	
	public void saveData(){
		// TODO do I need to do something here? o.o'
	}
}
